import 'package:flutter/material.dart';
import 'package:flutter_riverpod_test/app_router.dart';
import 'package:flutter_riverpod_test/view/home/home_page.dart';

class RiverpodTestApp extends StatelessWidget {
  const RiverpodTestApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      navigatorKey: AppNavigator.navigatorKey,
      onGenerateRoute: AppNavigator.onGenerateRoute,
    );
  }
}